<template>
    <view class="video-container">
        <status-bar title=" " statusHeight hideBg backColor></status-bar>
        <video class="wh" :src="videoSrc" autoplay></video>
    </view>
</template>

<script>
    export default {
        data() {
            return {
                videoSrc: ''
            };
        },
        onLoad(e) {
            this.videoSrc = e.videoSrc;
        }
    };
</script>

<style lang="scss" scoped>
    .video-container {
        height: 100vh;

        video {
            vertical-align: middle;
        }
    }
</style>
